package cn.lopr.im.api.vo;

import cn.lopr.im.api.bean.Article;

import java.util.Date;

/**
 * @author shuangyang7
 * @date 2021/5/21 23:46
 */
public class ArticleVo extends Article {

    private boolean self;
    private boolean selfLike;
    private boolean selfVisit;
    private boolean selfComment;

    private int userID;

    private String phone;

    private String nickname;

    private String sex;

    private Date birthday;

    private String portrait;

    private String introduction;

    public ArticleVo() {
    }

    public ArticleVo(Article article) {
        super(article);
    }

    public boolean isSelf() {
        return self;
    }

    public ArticleVo setSelf(boolean self) {
        this.self = self;
        return this;
    }

    public boolean isSelfLike() {
        return selfLike;
    }

    public ArticleVo setSelfLike(boolean selfLike) {
        this.selfLike = selfLike;
        return this;
    }

    public int getUserID() {
        return userID;
    }

    public ArticleVo setUserID(int userID) {
        this.userID = userID;
        return this;
    }

    public String getPhone() {
        return phone;
    }

    public ArticleVo setPhone(String phone) {
        this.phone = phone;
        return this;
    }

    public String getNickname() {
        return nickname;
    }

    public ArticleVo setNickname(String nickname) {
        this.nickname = nickname;
        return this;
    }

    public String getSex() {
        return sex;
    }

    public ArticleVo setSex(String sex) {
        this.sex = sex;
        return this;
    }

    public Date getBirthday() {
        return birthday;
    }

    public ArticleVo setBirthday(Date birthday) {
        this.birthday = birthday;
        return this;
    }

    public String getPortrait() {
        return portrait;
    }

    public ArticleVo setPortrait(String portrait) {
        this.portrait = portrait;
        return this;
    }

    public String getIntroduction() {
        return introduction;
    }

    public ArticleVo setIntroduction(String introduction) {
        this.introduction = introduction;
        return this;
    }

    public boolean isSelfVisit() {
        return selfVisit;
    }

    public ArticleVo setSelfVisit(boolean selfVisit) {
        this.selfVisit = selfVisit;
        return this;
    }

    public boolean isSelfComment() {
        return selfComment;
    }

    public ArticleVo setSelfComment(boolean selfComment) {
        this.selfComment = selfComment;
        return this;
    }
}
